// 导入
import instance from '../utils/axios';
import { ResType } from '../types/response';

// 客户列表
export const ApiCustomerList = async (data: any): Promise<ResType> => {
  return await instance.post('/api/customer/list', data);
}

// 新增客户
export const ApiCustomerAdd = async (data: any): Promise<ResType> => {
  return await instance.post('/api/customer/add', data);
}